home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 923 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  726 b 

  1. Subject: Re: Cookie Cache 
  2. Date: Fri, 21 Jan 1994 15:32:50 +1000
  3. From: Warwick Allison <warwick@cs.uq.oz.au>
  4.  
  5. In message <m0pMplc-0000aDC@sdf.lonestar.org>, Evan K. Langlois wrote:
  6. >
  7. >I think this is a great idea.  Watching the OS traces, I noticed that the
  8. >Freadlink call is recursive.  This means that if called on 100 files
  9. >it doesn't get called 100 times but 100 * the number of times the path is
  10. >nested, so if the directory is 10 directories deep you get 1000 calls.
  11.  
  12. It's nothing to do with the recursion (rewriting it iteratively would
  13. mean you'd go through a loop 1000 times rather than 1000 nested calls).
  14.  
  15. But the need for caching as a solution to all these repeated activities
  16. is definately correct.
  17.  
  18. --
  19. Warwick
  20.